package com.zhr.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 公告_用户外键
 * @TableName t_sys_notice_user
 */
@TableName(value ="t_sys_notice_user")
@Data
public class NoticeUser implements Serializable {
    /**
     * 主键
     */
    @TableId
    private String id;

    /**
     * 公告id
     */
    private String noticeId;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 0未阅读 1 阅读
     */
    private Integer state;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}